//proto definition (inner server communication)
//
//
#ifndef _AX_PROTO_H_
#define _AX_PROTO_H_

#define AX_COMM_OUTER 1   //route outer and process
#define AX_COMM_INNER 2   //inner route 
#define AX_COMM_CTRL  3   //control message

//command packet between process
struct AxCmdHeader
{
	char kind;  //message kind (from inner or outer or remote)
	unsigned char msg_type;	
	int handle;    
	unsigned int datalen;   //the len of following data
};


#endif
